# Clean home `~/`
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_RUNTIME_HOME="$HOME/.local/current"
export ZDOTDIR="$XDG_CONFIG_HOME/shell/"
export INPUTRC="$XDG_CONFIG_HOME/inputrc"
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0"
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/config"
export M2_REPO="$XDG_DATA_HOME/m2/"
export GEM_HOME="$XDG_DATA_HOME/gem/"
export LEIN_HOME="$XDG_DATA_HOME/lein/"
export XAUTHORITY="$XDG_DATA_DIR/Xauth"
export GNUPGHOME="$XDG_DATA_HOME/gnupg/"
export JDTLS_HOME="$XDG_DATA_HOME/jdtls/"
export NPM_PACKAGES="$XDG_DATA_HOME/node/"
export CONAN_USER_HOME="$XDG_DATA_HOME/conan/"
export LUAROCKS_HOME="$XDG_DATA_HOME/luarocks/"
export WINEPREFIX="$XDG_DATA_HOME/wine/default/"
export NODE_PATH="$NODE_PATH:$NPM_PACKAGES/lib/node_modules/"
export WGETHISTFILE="-"
export LESSHISTFILE="-"

# Fixes for wayland 
export XDG_CURRENT_DESKTOP=sway
export XDG_SESSION_TYPE=wayland
export QT_QPA_PLATFORMTHEME=kvantum
export QT_QPA_PLATFORM=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export CLUTTER_BACKEND=wayland
export SDL_VIDEODRIVER=wayland
export MOZ_ENABLE_WAYLAND=1
export _JAVA_AWT_WM_NONREPARENTING=1
export ECORE_EVAS_ENGINE=wayland_egl
export ELM_ENGINE=wayland_egl

# Java stuff
export JAVA_HOME="/usr/lib/jvm/openjdk11/"
export JAVA_INCLUDE_DIR="$JAVA_HOME/include/"
export ANT_EXECUTABLE="/usr/bin/ant/"

# Local scripts directory
export USER_SCRIPTS="$HOME/.local/scripts/"

# Path to local void repo
export XBPS_DISTDIR="$HOME/.local/repo/void-packages/"
export VOID_SRCPKGS="$XBPS_DISTDIR/srcpkgs/"

# Paths to user home data
export BINARIES="$HOME/Media/Binaries/"
export PICTURES="$HOME/Media/Pictures/"
export VIDEOS="$HOME/Media/Videos/"
export MUSIC="$HOME/Media/Music/"
export WORKSPACE="$HOME/Code/"
export PUBLIC="$HOME/Share/"
export MAIL="$HOME/.local/mail"
export MY_PICTURES="$PICTURES/MyPictures/"
export MY_VIDEOS="$VIDEOS/MyVideos/"
export MY_MUSIC="$MUSIC/MyMusic/"

# Modify ls/term colors
export LS_COLORS='di=1;35:fi=0;97:ln=4;36:or=5;31:ex=1;0;44'

# Set default programs
export TERM="foot"
export EDITOR="nvim"
export BROWSER="nyxt"
export SHELL="/usr/bin/zsh"

# Set PATH var
export PATH="$PATH:$USER_SCRIPTS:$XBPS_DISTDIR:$NPM_PACKAGES/bin/:$GEM_HOME/bin/:$HOME/.nimble/bin/:$HOME/.local/bin/:/usr/local/bin/"
